package com.compus.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 车辆位置
 */
@Data
@TableName("tb_car_position")
public class CarPosition {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "车辆id")
    private Long carId;

    @Schema(description = "经纬度")
    private String position;

    @Schema(description = "时间")
    private LocalDateTime createTime;



}
